package com.ugoodtech.mdcc.client.service;

import com.ugoodtech.mdcc.client.dto.ComplaintReportAnswer;
import com.ugoodtech.mdcc.client.dto.JsonResponse;
import com.ugoodtech.mdcc.core.domain.ComplaintReport;
import com.ugoodtech.mdcc.core.domain.User;
import com.ugoodtech.mdcc.core.dto.ComplaintSearch;
import org.springframework.data.domain.Pageable;

public interface ComplaintReportAuditService {
    JsonResponse getAuditComplaintReport(Pageable pageable, Integer reportStatus, ComplaintSearch complaintSearch, User user);

    JsonResponse getFollowComplaintReport(Pageable pageable, Integer reportStatus, User user, ComplaintSearch complaintSearch);

    JsonResponse auditComplaintReportFalse(User user, String auditNode, Long complaintReportId);

    JsonResponse auditComplaintReport(User user, Long validTime, Long complaintReportId, Long leaderUser, String needFollowUserId, ComplaintReportAnswer complaintReportDataList, String otherFollowNode);

    void updateComplaintReport(ComplaintReport complaintReport, ComplaintReportAnswer complaintReportDataList);
}
